import { Action, getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';
import store from '../../index'

export interface UserState{
  useraccount: string;
  userpsw: string;
}

@Module({
  dynamic: true,
  store,
  name: 'UserManage',
})
export default class UserManage extends VuexModule implements UserState{
  public useraccount: string = '';
  public userpsw: string = '';
}

export const UserStore = getModule(UserManage);